<?php
/**
 * <https://y.st./>
 * Copyright © 2018 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'A softer plan',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<section id="dreams">
	<h2>Dream journal</h2>
	<p>
		I dreamed I was a passenger in my father&apos;s car, but I was also wearing the drive-through headset from work and taking orders.
		I&apos;m not sure how I was supposed to actually get orders to the customers, seeing as I was nowhere near the store and couldn&apos;t bring things to the store window, but thankfully, one obnoxious customer was holding up the line, so it didn&apos;t matter.
		They kept trying to order cheese sticks.
		Repeatedly, I kept telling them that we don&apos;t carry cheese sticks, though if they wanted, we do carry cheese breads and bread sticks.
		Usually, when someone asks for cheese sticks at my workplace, they&apos;re after cheese bread, and they&apos;re too idiotic to figure out that a cheese bread isn&apos;t any type of stick.
		Other times though, customers asking for cheese sticks are after the breadsticks, which have the parmesan cheese sprinkled on them.
		And of course, a few customers think we legitimately have cheese sticks, and they want them.
		So in addition to getting customers to call things what they really are, which I admittedly care about way more than I should, I have to explain the situation to both make sure they want an actual item I can sell them and figure out which item they actually <strong>*want*</strong> me to sell them.
		The customer just couldn&apos;t get it through their thick skull that we don&apos;t carry cheese sticks, and kept ordering the cheese sticks in exactly the same tone and in exactly the same wording as every other time.
		Finally, I just repeated their order back to them as they&apos;d told it to me.
		When they confirmed, I again stated that we don&apos;t carry cheese sticks, but we do have cheese breads or breadsticks.
		This time, they got the message, but they changed their order entirely.
		Now they wanted some sort of chicken dish.
		I forget exactly what it was they wanted.
		It&apos;s not something we carry in the real world, but it&apos;s something we did carry in the dream world.
	</p>
</section>
<section id="fingers">
	<h2>Fingers</h2>
	<p>
		I&apos;ve found my finger size has gone back down, and I can now slip my rings on and off with decent ease, but not with so much ease that they&apos;re likely to fall off unexpectedly like that last ring did.
		Well, except in the morning.
		I seem to wake up with swollen fingers.
		I&apos;m not really worried about it though.
		I came across an article when I was looking into shaving tips, and it said skin tends to swell a bit as we sleep.
		Their point was to shave before bed, so when the skin swells, it pulls the stubble under the surface.
		If you instead shave in the morning, when your skin is swollen, the skin will retract later in the day and the stubble will be more pronounced.
		But anyway, I imagine that&apos;s what&apos;s going on with my fingers.
		Their skin is just doing some normal swelling while I sleep, and there&apos;s nothing to be worried about.
	</p>
</section>
<section id="mother">
	<h2>Dealing with my mother&apos;s attitude</h2>
	<p>
		Previously, I discussed how I was planning to cut ties with my mother if she didn&apos;t stop calling me a man.
		I discussed how I was going to threaten to cut ties with her, and give her one last chance first.
		This just isn&apos;t the right approach though, now that I&apos;ve thought on it more.
		Most importantly, any relationship we built after that point would be founded on that threat of my leaving her behind.
		What kind of relationship can we build like that?
		But also, it just isn&apos;t my style.
		When I heard she had a potential boyfriend, I panicked.
		I knew I had to move up my plans.
		I ended up deciding on something drastic.
	</p>
	<p>
		Thankfully, I told myself not to act at all until I had more information about the vasectomy.
		She still thinks I&apos;m exclusively attracted to males, and if the talk with the doctor doesn&apos;t go well, she&apos;ll continue to think that.
		However, if the talk with the doctor goes well, and my mother tries to claim I&apos;m fairly girly not because I&apos;m half girl but because I&apos;m gay, I&apos;ll explain that I&apos;ve gotten issues sorted out and that I&apos;m able to pursue a relationship with someone of either sex.
		I mean, really, I have two hang-ups with females.
		First, if birth control fails, it&apos;s the female&apos;s choice whether or not to get an abortion.
		That is very much how it <strong>*should*</strong> be.
		However, as I&apos;m ethically obligated not to breed, it means I lack the last-ditch option for when everything else fails.
		In other words, I cannot let other measures fail.
		If I have to avoid females in order to have a 100% chance of not impregnating them, it&apos;s my ethical duty to do just that.
		As for the second issue, let&apos;s just say that it can be fixed with toys in the bedroom.
	</p>
	<p>
		But anyway, I need a less forceful approach.
		I need to get the message across without threatening to withdraw from her completely.
		So when something comes up, such as a holiday or an introduction, I need to tell her I&apos;m not interested until she&apos;s done calling me a man.
		No threats for further action, just a simple statement that her plans that involve me aren&apos;t worth my time and energy if I&apos;m not worth enough to her for her to pay me enough respect to stop calling me a &quot;he&quot;.
		This also gives me the natural option of giving her as much time as she needs to come to terms with the fact that I&apos;m serious.
		I&apos;ve been telling her for over a year that I&apos;m not a man, but she keeps brushing it off.
		It&apos;ll let her know it&apos;s not going away, or even if she still thinks it is, that she&apos;ll be losing out in the mean time by refusing who I currently am.
	</p>
</section>
<section id="religion">
	<h2>Religion</h2>
	<p>
		The missionaries did not show up today.
		Their appointment time, at least as they communicated, was exactly one week ago.
		When they missed their appointment, I figured maybe they didn&apos;t actually say what they meant though, and when they said &quot;Wednesday&quot;, they meant two Wednesdays from then, and not the coming Wednesday.
		It seems that that wasn&apos;t the case though.
		They missed both Wednesdays.
	</p>
	<p>
		Interestingly, after having given up on the missionaries that had an appointment, another missionary, one with that cult from before, emailed me.
		It seems they&apos;ve got a setup in Eugene now.
		I remember I wanted to infiltrate their organisation before and learn more about what they do first-hand, but they had no local branch.
		Now that they do, pretending to join them and pretending to believe as they do could lead to interesting results.
		I don&apos;t honestly think I&apos;m in any danger; they seem to mostly be a money scam, from what the Internet tells me, but I guess I am taking a risk here.
		Still, curiosity is getting the better of me.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My graduation has been approved, and my graduation documents shipped.
		It&apos;s time to start getting things in order so when they arrive, I can begin looking for a new job.
	</p>
	<p>
		My discussion posts for the day:
	</p>
	<blockquote>
		<p>
			It&apos;s kind of funny.
			People usually draw binary trees with the leaves facing downward.
			Another way to draw them is with the root facing downward.
			Either way is just as valid, though with the root facing downward and the leaves facing up, it resembles a a biological tree more.
			Unless you&apos;re looking at the roots of the tree, in which case the root represents the above-ground part, while the leaf nodes are the part buried deep underground.
			But that&apos;s even more unintuitive.
		</p>
	</blockquote>
	<blockquote>
		<p>
			It&apos;s sad that people can&apos;t be trusted, and will intentionally hack the system if security precautions aren&apos;t taken.
			However, it&apos;s not just dishonest users you have to worry about.
			It&apos;s also users that don&apos;t understand the system.
			For example, I once built a system for my mother with a Web interface.
			It let her enter names of the things she added to the system.
			At one point though, she put unexpected characters into the system.
			The system handled it just fine; I&apos;d secured against that sort of thing in the database.
			However, the interface completely broke because they invalidated the markup of the page when such names were displayed.
			She broke the system accidentally because I&apos;d accidentally programmed a big flaw in it.
			You have to secure not only against malicious users, but also users not familiar with how your code works and what it does.
		</p>
		<p>
			As for your recursive solution to the knapsack problem, how does it differ from brute force?
			You say recursion is more efficient than brute force, but the two are not at all mutually exclusive.
			For example, take a look at the description of my solution from my initial post.
			That solution uses brute force <strong>*via*</strong> recursion.
			It tries every possible solution, then returns the one with the highest value.
		</p>
	</blockquote>
</section>
END
);
